<!--
  @author wangxiaokun
  @date 2021-03-15 18:25:28
-->
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<head>
    <title>可用优惠信息</title>
    <th:block th:replace="common/common :: jscss"/>
    <style>
        body {
            background-color: white !important;
        }
        .text-step {
            margin-top: 10px;
        }
        .text-title {
            font-weight: bold !important;
        }
        .text-content {
            font-size: 12px !important;
            color: #AEAEAE !important;
        }
        .layui-form-select dl {
            max-height: 185px;
        }
    </style>
</head>
<body>
<div class="layui-fluid new-order-page">
    <div class="layui-card">
        <div class="layui-form-item">
            <div class="layui-inline text-step">
                <span class="text-title">美团、口碑等第三方促销活动：</span><span class="text-content">* 仅代表用户可参与的促销活动</span>
            </div>
            <div class="layui-inline text-step" id="noThird"></div>
        </div>
        <div class="layui-inline">
            <table class="layui-table" lay-filter="zmn-third-discount" id="zmn-third-discount"></table>
        </div>
        <div class="layui-form-item">
            <div class="layui-inline text-step">
                <span class="text-title">啄木鸟促销活动：</span><span class="text-content">* 仅代表用户可参与的促销活动</span>
            </div>
            <div class="layui-inline text-step" id="noPromotion"></div>
        </div>
        <div class="layui-inline">
            <table class="layui-table" lay-filter="zmn-promotion-table" id="zmn-promotion-table"></table>
        </div>
        <div class="layui-form-item">
            <div class="layui-inline text-step">
                <span class="text-title">啄木鸟优惠券：</span><span class="text-content">* 仅代表用户可购买的优惠券</span>
            </div>
            <div class="layui-inline text-step" id="noDiscount"></div>
        </div>
        <div class="layui-inline">
            <table class="layui-table" lay-filter="zmn-discount-table" id="zmn-discount-table"></table>
        </div>
        <div class="layui-form-item">
            <div class="layui-inline text-step">
                <span class="text-title">增值服务优惠券：</span><span class="text-content">* 指：通过购买增值产品领取到的优惠券，以下优惠券仅代表用户可购买的增值服务优惠券</span>
            </div>
            <div class="layui-inline text-step" id="noIncrementDiscount"></div>
        </div>
        <div class="layui-inline">
            <table class="layui-table" lay-filter="zmn-increment-table" id="zmn-increment-table"></table>
        </div>
        <div class="layui-form-item">
            <div class="layui-inline text-step">
                <span class="text-title">用户可使用的优惠券：</span><span class="text-content">* 指：当前手机号关联的用户ID已领取且可使用的优惠券</span>
            </div>
            <div class="layui-inline text-step" id="noUserBindDiscount"></div>
        </div>
        <div class="layui-inline">
            <table class="layui-table" lay-filter="zmn-bind-table" id="zmn-bind-table"></table>
        </div>
        <div class="layui-inline" style="margin-top: 30px;font-size: 13px">
            促销和优惠券不可同时使用，代金券可叠加使用，如下单后变更城市/产品等，优惠信息将被清空，以支付时的信息为准
        </div>
    </div>
</div>

<script th:inline="javascript">
    layui.config({
        base: "/static/js/module/",
        version: 20221013001
    }).extend({
        oms_order_showDiscount: "order/zmn.oms.order.showDiscount"
    }).use(['index', 'oms_order_showDiscount']);
</script>

</body>
</html>